<include file="Public:header" />
<body class="gray-bg">
<div class="wrapper wrapper-content animated fadeInRight">
    <!-- Panel Other -->
    <div class="ibox float-e-margins">
        <div class="ibox-title"  class="col-md-6">
            <h5>级别配置项</h5>
        </div>
        <div class="ibox-content">
            <!--搜索框开始-->
            <!--搜索框结束-->
            <div class="hr-line-dashed"></div>
				<div class="example-wrap">
					<div class="example">
						<div class="bootstrap-table">
							<div class="fixed-table-container" style="height: 641px; padding-bottom: 36px;">
								<div class="fixed-table-header" style="margin-right: 0px;"></div>
								<div class="fixed-table-body">
									<table id="cusTable" data-height="700" class="table table-hover table-striped">
										<thead>
											<th tabindex="0">
												<div class="th-inner ">等级名称</div>
											</th>
											<volist name="reward_type" id="vo">
											<th tabindex="0">
												<div class="th-inner ">{$vo['name']}
													<eq name="vo['type']" value="ratio">（比例）</eq>
													<eq name="vo['type']" value="num">（固定金额）</eq>
												</div>
											</th>
											</volist>
											<th tabindex="0">
												<div class="th-inner ">价格</div>
											</th>
											<th tabindex="0">
												<div class="th-inner ">日封顶</div>
											</th>
											<th tabindex="0">
												<div class="th-inner ">操作</div>
											</th>
										</thead>
										<tbody>
											<volist name="list" id="vo">
											<tr>
												<td>{$vo['name']}</td>
												<volist name="reward_type" id="vo2">
													<eq name="vo2['type']" value="ratio"><td>{$vo['ratio'][$vo2['id']]['ratio']}</td></eq>
													<eq name="vo2['type']" value="num"><td>{$vo['ratio'][$vo2['id']]['num']}</td></eq>
												</volist>
												<td>{$vo['money']}</td>
												<td>{$vo['day_max_reward']}</td>
												<td>
													<div class="btn-group">
														<a href="{:U('Leavel/update',['id'=>$vo['id']])}"><button class="btn btn-primary btn-sm " aria-expanded="false">
															修改 
														</button></a>
													</div>
												</td>
											</tr>
											</volist>
											</tr>
										</tbody>
									</table>
								</div>
								<div class="pull-right pagination"></div>
							</div>
						</div>
						<div class="clearfix"></div>
					</div>
				</div>
            <!-- End Example Pagination -->
        </div>
    </div>
</div>
<!-- End Panel Other -->
</div>
<include file="Public:footer" />
</body>
</html>